{__NOLAYOUT__}
<layout name="layoutPC" />  
<div class="container" ng-controller="msgCollectionController">
  <div class="row" style="margin-top:50px;">
    <div class="col-sm-12">
      <div class="message">
        <a class="dis-in-bl message-title-right" href="#user" ng-class="{'not-active':hash=='mission'}" ng-click="tablist('user')" style="text-decoration: none;">
          <span>收藏的用户</span>
        </a>
        <a class="dis-in-bl message-title-middle" href="#mission" ng-class="{'not-active':hash!='mission'}" ng-click="tablist('mission')" style="text-decoration: none;">
          <span>收藏的任务</span>
        </a>
      </div>
      <div class="sys-user-list" ng-show="hash!='mission'">
          <hr style="border-bottom:3px solid rgb(242,242,242);margin-top: 35px;margin-bottom: 0px"/>
        <div class="people-message" ng-repeat="user in userFav">
            <div class="people-collected-icon">
                <img ng-src="__UPLOAD__/{{ user.image_url }}">
            </div>
            <div class="follow-people-information">
                <a href="<{:U('FetcherInfo/indexPC')}>?user_id={{ user.collected_id }}" class="follow-people-name" style="margin-right: 15px">{{ user.user_name }}</a>
                <span class="tag-credit" style="margin-right: 15px">信</span>
                <span class="tag-level-first"  style="margin-right: 15px">甲.V{{user.level_j}}</span>
                <span class="tag-level-second"  style="margin-right: 15px">乙.V{{user.level_y}}</span>
            </div>
            <span class="icon-cancel-collect" style="float: right;margin-top: 10px;margin-left: 40px" ng-click="delUserModal(user.collected_id)">取消收藏</span>
            <a href="<{:U('Message/sendOrReceiveMessagePC')}>/publisher_id/{{user.collected_id}}/publisher_name/{{user.user_name}}" style="text-decoration: none;">
                <span class="icon-left-message" style="float: right;margin-top: 15px">
                    留言
                </span>
            </a>
          </div>
      </div>
      <div class="mission-collection" ng-show="hash=='mission'">
          <hr style="border-bottom:3px solid rgb(242,242,242);margin-top: 35px;margin-bottom: 0px"/>
        <div class="position-list">
          <div class="position" ng-repeat="mission in missionFav">
              <span class="icon-cancel-collect" style="float: right;margin-right: 30px" ng-click="delMissionModal(mission.collected_id)">取消收藏</span>
              <span class="price-tag" style="float: right;margin-top: 5px;margin-right: 50px">
                  {{ mission.salaryMeaning }}
              </span>
            <div ng-click="goMission(mission.collected_id)" style="cursor:pointer;">
              <div style="margin-bottom:10px;overflow: hidden;">
                  <span class="work-title ng-binding" style="float:left;margin:0 10px 0 0;padding:0;">
                     <!-- <a href="<{:U('Task/indexPC')}>/mission/{{ mission.collected_id }}" style="text-decoration: none;color: #363636;">{{ mission.mission_name }}</a> -->
                     <p style="color: #363636;">{{ mission.mission_name }}</p>
                  </span>
              </div>
              <a href="<{:U('FetcherInfo/indexPC')}>?user_id={{ mission.collected_id }}" class="pub-name-fetcher" style="margin-right: 20px">{{ mission.publisher_name }}
              </a>
              <div class="believe-box" style="margin-right: 20px" ng-show="mission.trust==2">
                  <img src="__PUBLIC__/static/pc/img/u18.png" style="width:22px;height:22px;position:relative;">
                  <p class="believe believe-fetcher">信</p>
              </div>
              <div class="lvl-box" style="margin-right: 20px">
                  <img src="__PUBLIC__/static/pc/img/u20.png" style="width:55px;height:22px;position:relative;">
                  <p class="lvl-fetcher">甲.V{{ mission.level_j }}</p>
              </div>
              <span style="font-size:15px;color:#999999;">{{ getTimePast(mission.publish_time) }}</span>
              <div class="information-display row" style="margin:15px 0 0 0;">
                <div class="col-sm-2 title" style="padding-left:0;text-align:left;">代表机构</div>
                <div class="col-sm-9 content" style="margin-left:-35px;">{{ mission.agent }}&nbsp;</div>
              </div>
              <div class="information-display row" style="margin:5px 0 0 0;">
                <div class="col-sm-2 title" style="padding-left:0;text-align:left;">岗位需求</div>
                <div class="col-sm-9 content" style="margin-left:-35px;">{{ mission.jobs }}&nbsp;</div>
              </div>
              <div class="information-display row" style="margin:5px 0 0 0;">
                <div class="col-sm-2 title" style="padding-left:0;text-align:left;">工作时间</div>
                <div class="col-sm-9 content ng-binding" style="margin-left:-35px;">{{ mission.durationMeaning }}&nbsp;</div>
              </div>
              <div class="information-display row" style="margin:5px 0 0 0;">
                <div class="col-sm-2 title" style="padding-left:0;text-align:left;">工作地点</div>
                <div class="col-sm-9 content ng-binding" style="margin-left:-35px;">{{ mission.locationMeaning }}&nbsp;</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
    <div class="modal fade in" id="delUserModal">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-body">
                    <h3 class="center">您真的要取消收藏该用户吗？</h3>
                </div>
                <div class="modal-footer btn-group-card">
                    <button type="button" class="btn" ng-click="delFavUser()">确定</button>
                    <button type="button" class="btn" data-dismiss="modal">取消</button>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade in" id="delMissionModal">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-body">
                    <h3 class="center">您真的要取消收藏该任务吗？</h3>
                </div>
                <div class="modal-footer btn-group-card">
                    <button type="button" class="btn" ng-click="delFavMission()">确定</button>
                    <button type="button" class="btn" data-dismiss="modal">取消</button>
                </div>
            </div>
        </div>
    </div>
</div>
